package com.gss.entity.sys.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gss.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author DYang
 * @date 2023/5/31
 */
@ApiModel("部门管理")
@Data
@TableName("sys_dept")
public class SysDept extends BaseEntity {

    @ApiModelProperty("自增长id")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("部门编码")
    private String deptCode;

    @ApiModelProperty("上级部门code")
    private String parentCode;

    @ApiModelProperty("部门联系人")
    private String contacts;

    @ApiModelProperty("联系人电话号码")
    private String phoneNum;

}
